package com.pfizer.Entity;

import java.util.Date;

public class UserLog {
	public static final String USERLOGIDSTRING = "UserLog_ID";
	public static final String USERLOGUSERIDSTRING = "User_ID";
	public static final String USERLOGCASECODESTRING = "CaseCode";
	public static final String USERLOGCLASSSTRING = "ClassID";
	public static final String USERLOGTYPESTRING = "TypeID";
	public static final String USERLOGPARENTIDSTRING = "ParentID";
	public static final String USERLOGTIMESTRING = "UserLog_Time";

	String User_ID;
	String CaseCode;
	String	ClassID;
	int	TypeID;
	long	ParentID;
	long UserLog_Time;
	public UserLog() {

	}
	public UserLog(String _UserID,String _CaseCode,String _ClassID,int _TypeID,long _ParentID)
	{
		this.User_ID=_UserID;
		this.CaseCode=_CaseCode;
		this.ClassID=_ClassID;
		this.TypeID=_TypeID;
		this.ParentID=_ParentID;
		Date dt=new Date();
		this.UserLog_Time=dt.getTime();
	}
	public UserLog(String _UserID,String _CaseCode,String _ClassID,int _TypeID,int _ParentID,long _Time)
	{
		this.User_ID=_UserID;
		this.CaseCode=_CaseCode;
		this.ClassID=_ClassID;
		this.TypeID=_TypeID;
		this.ParentID=_ParentID;
		this.UserLog_Time=_Time;
	}
	public String getUserID()
	{
		return this.User_ID;
	}
	public String getCaseCode()
	{
		return this.CaseCode;
	}
	public String getClassID()
	{
		return this.ClassID;
	}
	public int getTypeID()
	{
		return this.TypeID;
	}
	public long getParentID()
	{
		return this.ParentID;
	}
	public long getTime()
	{
		return this.UserLog_Time;
	}
}
